(function (w) {
    const baseURL = 'http://localhost:8080/api/v1'
    const BigNew = {
        baseURL: baseURL,//基地址
        news_search: baseURL + '/index/search',//文章搜索
        news_category: baseURL + '/index/category',//文章类型
        news_hotpic: baseURL + '/index/hotpic',//热点图
        news_rank: baseURL + '/index/rank',//文章热门排行
        news_latest: baseURL + '/index/latest',//最新资讯
        news_latest_comment: baseURL + '/index/latest_comment',//最新评论
        news_attention: baseURL + '/index/attention',//焦点关注
        news_article: baseURL + '/index/article',//文章详情
        news_post_comment: baseURL + '/index/post_comment',//发表评论
        news_get_comment: baseURL + '/index/get_comment',//评论列表

    };

    //暴露接口
    w.BigNew = BigNew;
}(window));